#ifndef __GUIIMAGE_H__
#define __GUIIMAGE_H__
#include "ResourceManager.h"
#include <d3dx9.h>

class GUIImage
{
public:
	GUIImage();
	GUIImage(int id);
	~GUIImage();

	bool Init();
	void Render();

	void SetBorder(float left, float top, float right, float bottom);
protected:
	IDirect3DTexture9* m_pMainTexture;
	D3DXVECTOR3 m_BkgdCenter;	

private:
	RECT m_Border;
};
#endif //__GUIIMAGE_H__